'''
Created on 15 juil. 2009

@author: tmeedendorp
'''

class AbstractPlugin:
    
    def __init__ (self):
        self.active = False
    
    def getName(self):
        """The plugin name"""
        return "Abstract Plugin"
    
    def getDescription(self):
        """The plugin description"""
        return "base plugin which must be surcharged by real plugins"
    
    def isConfigurable(self):  
        return False
    
    def getConfigWindow(self, parent, data=None):
        """The window shown when the configure button is clicked."""
        return None
        
    def getComputor(self):
        """computor called when performing a file"""
        return None
    
    def getXmlConfig(self):
        return None
    
    def getActive(self):
        return self.active
    
    def setActive(self, active):
        self.active = active